<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<title>Modify</title>
<link rel="stylesheet" href="../css/style.css" type="text/css">
<script language=javascript>

function send_check(n)
{
	var f = document.f;
	
	if (f.b_content.value == '')
	{
		alert('내용을 입력하세요');
		f.b_content.focus();
		return false;
	}
	
	f.submit();
}


</script>
</head>


<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<img src="../img/title_04.gif">
<form name="f" method="post" action="board_modify.do" enctype="multipart/form-data">

		<input type="hidden" name="b_no" value="${param.b_no }">
		<%-- <input type="hidden" name="page" value="${param.page }"> --%>
		<input type="hidden" name="b_filename" value="${param.b_filename }">
		<input type="hidden" name="menu_no" value="${param.menu_no }">
		 <input type="hidden" name="cate_no" value="${param.cate_no }">
		<input type="hidden" name="title_no" value="${param.title_no }">
		<%-- <input type="hidden" name="b_notice" value="${param.b_notice}"> --%>
		<input type="hidden" name="ip" value="">
		 
<table width="750" border="0" cellspacing="0" cellpadding="0">

	<tr>
		<td style="padding-top: 10px;">제목</td>
		<td>${param.b_subject }</td>
	</tr>
	
	<tr>
		<td>작성자</td>
		<td>${param.b_writer }</td>
	</tr>
	
	<tr>
		<td>첨부파일</td>
		<td style="padding-top: 10px;"><input name="file" type="file"></td>
	</tr>

	<tr>
		<td>내용</td>
		<td style="padding-top: 10px;">
		<TEXTAREA name='b_content' rows="9" cols="65">${param.b_content }</TEXTAREA></td>
	</tr>
</table>
</form>
<table width="750" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td align="center">
		<!-- 등록 -->
		<img src="../img/btn_reg.gif" onClick="return send_check(2)" style="cursor:hand">
		<!-- 취소 -->
		<img src="../img/btn_back.gif" onClick="JavaScript:location.href='BoardView.do?b_no=${param.b_no}'" style="cursor:hand"></td>
	</tr>
</table>




</body>

</html>